FROM 10.113.75.156:31104/library/jdk8:v4
ENV JAVA_OPTS=""
ENV SKYWALKING_AGENT=""
ENV JAVA_OPTS_INNER="-XX:+UseContainerSupport -XX:MaxRAMPercentage=75.0 -XX:MinRAMPercentage=50.0 -XX:InitialRAMPercentage=50.0 -XX:+PrintCommandLineFlags -Duser.timezone=Asia/Shanghai"
ADD ./target/web-see-api-*.jar web-see-api.jar
EXPOSE 8080
ENTRYPOINT [ "sh", "-c", "java $SKYWALKING_AGENT $JAVA_OPTS_INNER $JAVA_OPTS -jar web-see-api.jar" ]